{extend name="base" /}
{block name="body"}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class="layui-this">数据库管理</li>
        </ul>
        <div class="layui-tab-content">
            <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                <legend>数据列表</legend>
            </fieldset>

            <div class="layui-form">
                <table class="layui-table">
                    <thead>
                    <tr>
                        <th>备份文件名</th>
                        <th>版本号</th>
                        <th>备份大小</th>
                        <th>备份时间</th>
                    </tr>
                    </thead>
                    <tbody>
                    {foreach	$data	as	$vo}
                    <tr>
                        <td>{$vo.file_name}</td>
                        <td>{$vo.version}</td>
                        <td>{$vo.file_size} kb</td>
                        <td>{$vo.create_time}</td>
                    </tr>
                    {/foreach}
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
{/block}